package cn.tedu.charging.order.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
public class HelloController {
    @Value("${server.port}")
    private String port;
    @GetMapping("/order/hello")
    public String hello(){
        return "I am an order model,port:"+port;
    }
}
